/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.personnel.api.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 证件信息借用记录表
 *
 * @author 碎月
 * @date 2022-01-12 15:47:16
 */
@Data
@TableName("fy_personnel_certificate_lend_record")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "证件信息借用记录表")
public class CertificateLendRecord extends Model<CertificateLendRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty(value="id")
    private Long id;

    /**
     * 用户id
     */
    @ApiModelProperty(value="用户id")
    private Long userId;

    /**
     * 申请人
     */
    @ApiModelProperty(value="申请人")
    private String applicant;

    /**
     * 申请日期
     */
    @ApiModelProperty(value="申请日期")
    private LocalDate applyDate;

    /**
     * 使用时间
     */
    @ApiModelProperty(value="使用时间")
    private LocalDate useTime;

    /**
     * 预约归还时间
     */
    @ApiModelProperty(value="预约归还时间")
    private LocalDate expectReturnDate;

    /**
     * 实际归还时间
     */
    @ApiModelProperty(value="实际归还时间")
    private LocalDateTime actualReturnTime;

    /**
     * 说明
     */
    @ApiModelProperty(value="说明")
    private String instruction;

    /**
     * 证件信息id
     */
    @ApiModelProperty(value="证件信息id")
    private Long certificateInfoId;
}
